#ifndef MAPENUM_H
#define MAPENUM_H

#include <iostream>
#include <unordered_map>
#include <string>


// 定义类型1
enum class AttachEntity : char {
    IntegrationPoint ,
    Particle
};

// 定义类型2
enum class ConnectEntity {
    cellPerFace,
    facePerPoint
};

// 引入map数据结构


// 创建一个映射，将类型映射到对应的数量
using AttachMap = std::map<AttachEntity, int>;
std::string attachEntityToString(AttachEntity type) {
    switch (type) {
        case AttachEntity::IntegrationPoint:
            return "IntegrationPoint";
        case AttachEntity::Particle:
            return "Particle";
        default:
            return "Unknown";
    }
}

#endif